package com.changgou.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.haha.goods.entity.Goods;
import com.haha.goods.entity.Spu;

/**
 * @author Yang
 * @date 2020/11/7
 */
public interface SpuService extends IService<Spu> {
    /**
     * 保存商品
     * @param goods
     */
    void saveGoods(Goods goods);

    Goods findGoodsById(Long id);

    void audit(Long id);

    void pull(Long id);

    void put(Long id);

    int putMany(Long[] ids);

    void logicDelete(Long id);

    void restore(Long id);
}
